<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script>
        let arr = [1,3,5,7,9]

        // arr.forEach(item => {
        //     console.log(item);
        // })

        const arr2 = arr.map(item=>item+1)

        console.log(arr2);//[2, 4, 6, 8, 10]
      

    </script>
</body>
</html>